function recalc(){
	var clientWidth = document.documentElement.clientWidth;
	if(!clientWidth) return;
	document.documentElement.style.fontSize = 40 * (clientWidth / 640) + 'px';
}

function initRecalc() {
	recalc();
	var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
	if(!document.addEventListener) return;
	window.addEventListener(resizeEvt, recalc, false);
	document.addEventListener('DOMContentLoaded', recalc, false);
}
initRecalc();
function play(){
	var a=document.getElementById("audio");
	var b=document.getElementById("one");
	var c=document.getElementById("two");
	var d=document.getElementById("imgOne");
	var e=document.getElementById("imgTwo");
	var f=document.getElementById("jindu");
	f.style.animationPlayState="running";
	e.style.transform="rotate(20deg)";
	d.style.animationPlayState="running";
	b.style.display="none";
	c.style.display="block";
	a.play();
}
function pause(){
	var a=document.getElementById("audio");
	var b=document.getElementById("one");
	var c=document.getElementById("two");
	var d=document.getElementById("imgOne");
	var e=document.getElementById("imgTwo");
	var f=document.getElementById("jindu");
	f.style.animationPlayState="paused";
	e.style.transform=" rotate(0deg)";
	d.style.animationPlayState="paused";
	b.style.display="block";
	c.style.display="none";
	a.pause()
}
function block(){
	var a=document.getElementById("bottom");
	a.style.display="block";
	var b=document.getElementById("body");
	b.style.overflow="hidden";
}
function hindden(){
	var a=document.getElementById("bottom");
	a.style.display="none";
	var b=document.getElementById("body");
	b.style.overflow="auto";
}
function qzfl(){
	window.location.href="quanzifenlei.html";
}
function ht(){
	window.location.href="huati.html";
}
function gg(){
	window.location.href="gonggao.html";
}
function fb(){
	window.location.href="fabu-1.html";
}
function rz(){
	window.location.href="renzheng.html";
}
